<?php

$cfgMainMenu['title']					= 'Formular Mailer';

$cfgMainMenu['left'][0]['title']			= 'Formular';
$cfgMainMenu['left'][0]['img']	   			= 'formmailer.jpg';
$cfgMainMenu['left'][0]['sub'][0]['title']		= 'eMaildaten anpassen';
$cfgMainMenu['left'][0]['sub'][0]['target']		= 'editEmailData.php';
$cfgMainMenu['left'][0]['sub'][1]['title']		= 'Formular einrichten';
$cfgMainMenu['left'][0]['sub'][1]['target']		= 'customizeForm.php';
$cfgMainMenu['left'][0]['sub'][2]['title']		= 'Formularmail-Template anpassen';
$cfgMainMenu['left'][0]['sub'][2]['target']		= 'editFormTpl.php&type=form';
$cfgMainMenu['left'][0]['sub'][3]['title']		= 'Best&auml;tigungsmail-Template anpassen';
$cfgMainMenu['left'][0]['sub'][3]['target']		= 'editTpl.php&type=ack';
$cfgMainMenu['left'][0]['sub'][4]['title']		= 'Zus&auml;tzliche Texte einrichten';
$cfgMainMenu['left'][0]['sub'][4]['target']		= 'editFinScreen.php';
$cfgMainMenu['left'][0]['sub'][5]['title']		= 'Formularvorschau zeigen';
$cfgMainMenu['left'][0]['sub'][5]['target']		= 'showForm.php';

$cfgMainMenu['right'][0]['title']			= 'Konfiguration';
$cfgMainMenu['right'][0]['img']	   			= 'config.jpg';
$cfgMainMenu['right'][0]['sub'][0]['title']		= 'Tabellen einrichten';
$cfgMainMenu['right'][0]['sub'][0]['target']		= 'createTables.php';
$cfgMainMenu['right'][0]['sub'][1]['title']		= 'Feld Templates einrichten';
$cfgMainMenu['right'][0]['sub'][1]['target']		= 'customizeFieldTpl.php';


$sides = array('left','right');
foreach ($sides As $side)
{
    for ($i=0;$i<count($cfgMainMenu[$side]);$i++)
    {
        for ($j=0;$j<count($cfgMainMenu[$side][$i]['sub']);$j++)
        {
        	$arr = explode('&',$cfgMainMenu[$side][$i]['sub'][$j]['target']);
            $cfgMainMenu['bytarget'][$arr[0]] = &$cfgMainMenu[$side][$i]['sub'][$j]['title'];
        }
    }
}
unset($sides);    
?>